package com.example.businesscalender;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class BusinessCalender extends Activity {
    /** Called when the activity is first created. */
	//Button login,cancel;
	//EditText uname;
	//EditText pass;
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        //uname=(EditText)this.findViewById(R.id.usernametext);
		//pass=(EditText)this.findViewById(R.id.passwordtext);
		//Toast.makeText(this, uname.toString(), Toast.LENGTH_SHORT).show();
        //login=(Button)this.findViewById(R.id.login);
        Button cancel=(Button)this.findViewById(R.id.cancel);
        /*login.setOnClickListener(new View.OnClickListener() {
			
			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				
			}
		});
        */
        
        cancel.setOnClickListener(new View.OnClickListener() {
			
			@Override
			public void onClick(View v) {
				BusinessCalender.this.finish();								
			}
		});
     
        
        
        
    }
    
		public void login_button(View v) {
			// TODO Auto-generated method stub
			
			//String u=uname.toString();
			//Toast.makeText(this, uname.toString(), Toast.LENGTH_SHORT).show();
			//String p=Toast.makeText(this, pass.toString(), Toast.LENGTH_LONG).toString();
			/*if(u.equals("abhi")){*/
				
			Intent i=new Intent();
			i.setClass(this, NextMenu.class);
			this.startActivity(i);
			/*else
				{BusinessCalender.this.finish();}*/
			//startActivity(new Intent("com.example.businesscalender.NEXTMENU"));
		}
		
    	
    
//}
}